package org.dromara.iot.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.iot.domain.IotElevatorOss;

/**
 * 楼梯和轮播资源关联业务对象 iot_elevator_oss
 *
 * @author Lion Li
 * @date 2024-06-10
 */
@Data
@AutoMapper(target = IotElevatorOss.class, reverseConvertGenerate = false)
public class IotElevatorOssBo {

    /**
     * 楼梯ID
     */
    @NotNull(message = "楼梯ID不能为空", groups = {EditGroup.class})
    private Long elevatorId;

    /**
     * 对象存储主键
     */
    @NotNull(message = "对象存储主键不能为空", groups = {EditGroup.class})
    private Long ossId;


}
